"""
@File    ：el_login_h5.py
@Author  ：ixiaodu
@Date    ：2024/5/14
@Desc    ：
"""
from selenium.webdriver.common.by import By

# 登录界面元素配置信息

# 手机号登录
login_username = By.XPATH, "//input[@type='number']"
login_code_btn = By.CSS_SELECTOR, '.validate-button-disable'
login_code = By.XPATH, "(//input[@type='number'])[2]"
login_btn = By.CSS_SELECTOR, '.loginBtn:nth-child(5)'

# 管理员登录
tab_admin = By.CSS_SELECTOR, '.UEl_1'
admin_user = By.CSS_SELECTOR, 'uni-swiper-item:nth-of-type(2) > .input-area > uni-view:nth-of-type(1) > .u-input > .u-input__input  .uni-input-input'
admin_password = By.CSS_SELECTOR, 'uni-swiper-item:nth-of-type(2) > .input-area > uni-view:nth-of-type(2) > .u-input > .u-input__input  .uni-input-input'
admin_login_btn = By.CSS_SELECTOR, '.uni-swiper-slide-frame uni-swiper-item:nth-of-type(2) .loginBtn'

login_btn_notarize = By.CSS_SELECTOR, ".ensure-button"
